package com.yuyou.tas.lesson.service;


import java.util.List;

import com.yuyou.tas.service.api.lesson.dto.DtoBaseTeach;
import com.yuyou.tas.service.api.lesson.entity.BaseTeach;
import com.yuyou.tas.util.bean.LoginRedisObj;
import com.yuyou.tas.util.bean.Pagination;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

public interface IBaseTeaService {

    ResBoolSimpleInfo addTeach(Long subjectID, Long materialId, String gradeIds, Integer type, LoginRedisObj user,Long organId);
    ResBoolSimpleInfo updateTeach(Long materialId, String gradeIds, Integer type, Long subjectId, Long id, LoginRedisObj user);
    ResBoolSimpleInfo delTeach(Long id);
    ResBoolSimpleInfo<BaseTeach> getTeachByID(Long id);

    int findTeachCount(Pagination<DtoBaseTeach> queryPgn);
    List<DtoBaseTeach> findTeachPageList(Pagination<DtoBaseTeach> queryPgn);

    BaseTeach selectByPKandOrgan(Long id, Long authOrganizationId);
    BaseTeach selectByCode7Organ(String code,Long authOrganizationId);
    
    
}